import { ServiceProto } from 'tsrpc-proto';
import { ReqRequestUserInfo, ResRequestUserInfo } from './masterServer/admin/PtlRequestUserInfo';
import { ReqSubWorldCreated, ResSubWorldCreated } from './masterServer/admin/PtlSubWorldCreated';
import { ReqSubWorldDestroyed, ResSubWorldDestroyed } from './masterServer/admin/PtlSubWorldDestroyed';
import { ReqSubWorldStateChanged, ResSubWorldStateChanged } from './masterServer/admin/PtlSubWorldStateChanged';
import { ReqWorldServerJoin, ResWorldServerJoin } from './masterServer/admin/PtlWorldServerJoin';
import { ReqClearAllMails, ResClearAllMails } from './masterServer/mail/PtlClearAllMails';
import { ReqDeleteMail, ResDeleteMail } from './masterServer/mail/PtlDeleteMail';
import { ReqGetMails, ResGetMails } from './masterServer/mail/PtlGetMails';
import { ReqMarkAllAsRead, ResMarkAllAsRead } from './masterServer/mail/PtlMarkAllAsRead';
import { ReqMarkAsRead, ResMarkAsRead } from './masterServer/mail/PtlMarkAsRead';
import { ReqCreateRole, ResCreateRole } from './masterServer/PtlCreateRole';
import { ReqCreateSubWorld, ResCreateSubWorld } from './masterServer/PtlCreateSubWorld';
import { ReqEnterSubWorld, ResEnterSubWorld } from './masterServer/PtlEnterSubWorld';
import { ReqGetAnnouncement, ResGetAnnouncement } from './masterServer/PtlGetAnnouncement';
import { ReqGetNotice, ResGetNotice } from './masterServer/PtlGetNotice';
import { ReqGetUserInfo, ResGetUserInfo } from './masterServer/PtlGetUserInfo';
import { ReqLeaveSubWorld, ResLeaveSubWorld } from './masterServer/PtlLeaveSubWorld';
import { ReqListSubWorlds, ResListSubWorlds } from './masterServer/PtlListSubWorlds';
import { ReqLogin, ResLogin } from './masterServer/PtlLogin';
import { ReqModifyUserInfo, ResModifyUserInfo } from './masterServer/PtlModifyUserInfo';
import { ReqRegister, ResRegister } from './masterServer/PtlRegister';
import { ReqStartMatch, ResStartMatch } from './masterServer/PtlStartMatch';
import { MsgEnterSubWorld } from './masterServer/s2cMsg/MsgEnterSubWorld';

export interface ServiceType {
    api: {
        "admin/RequestUserInfo": {
            req: ReqRequestUserInfo,
            res: ResRequestUserInfo
        },
        "admin/SubWorldCreated": {
            req: ReqSubWorldCreated,
            res: ResSubWorldCreated
        },
        "admin/SubWorldDestroyed": {
            req: ReqSubWorldDestroyed,
            res: ResSubWorldDestroyed
        },
        "admin/SubWorldStateChanged": {
            req: ReqSubWorldStateChanged,
            res: ResSubWorldStateChanged
        },
        "admin/WorldServerJoin": {
            req: ReqWorldServerJoin,
            res: ResWorldServerJoin
        },
        "mail/ClearAllMails": {
            req: ReqClearAllMails,
            res: ResClearAllMails
        },
        "mail/DeleteMail": {
            req: ReqDeleteMail,
            res: ResDeleteMail
        },
        "mail/GetMails": {
            req: ReqGetMails,
            res: ResGetMails
        },
        "mail/MarkAllAsRead": {
            req: ReqMarkAllAsRead,
            res: ResMarkAllAsRead
        },
        "mail/MarkAsRead": {
            req: ReqMarkAsRead,
            res: ResMarkAsRead
        },
        "CreateRole": {
            req: ReqCreateRole,
            res: ResCreateRole
        },
        "CreateSubWorld": {
            req: ReqCreateSubWorld,
            res: ResCreateSubWorld
        },
        "EnterSubWorld": {
            req: ReqEnterSubWorld,
            res: ResEnterSubWorld
        },
        "GetAnnouncement": {
            req: ReqGetAnnouncement,
            res: ResGetAnnouncement
        },
        "GetNotice": {
            req: ReqGetNotice,
            res: ResGetNotice
        },
        "GetUserInfo": {
            req: ReqGetUserInfo,
            res: ResGetUserInfo
        },
        "LeaveSubWorld": {
            req: ReqLeaveSubWorld,
            res: ResLeaveSubWorld
        },
        "ListSubWorlds": {
            req: ReqListSubWorlds,
            res: ResListSubWorlds
        },
        "Login": {
            req: ReqLogin,
            res: ResLogin
        },
        "ModifyUserInfo": {
            req: ReqModifyUserInfo,
            res: ResModifyUserInfo
        },
        "Register": {
            req: ReqRegister,
            res: ResRegister
        },
        "StartMatch": {
            req: ReqStartMatch,
            res: ResStartMatch
        }
    },
    msg: {
        "s2cMsg/EnterSubWorld": MsgEnterSubWorld
    }
}

export const serviceProto: ServiceProto<ServiceType> = {
    "version": 18,
    "services": [
        {
            "id": 4,
            "name": "admin/RequestUserInfo",
            "type": "api"
        },
        {
            "id": 13,
            "name": "admin/SubWorldCreated",
            "type": "api"
        },
        {
            "id": 14,
            "name": "admin/SubWorldDestroyed",
            "type": "api"
        },
        {
            "id": 15,
            "name": "admin/SubWorldStateChanged",
            "type": "api"
        },
        {
            "id": 0,
            "name": "admin/WorldServerJoin",
            "type": "api"
        },
        {
            "id": 19,
            "name": "mail/ClearAllMails",
            "type": "api"
        },
        {
            "id": 20,
            "name": "mail/DeleteMail",
            "type": "api"
        },
        {
            "id": 21,
            "name": "mail/GetMails",
            "type": "api"
        },
        {
            "id": 22,
            "name": "mail/MarkAllAsRead",
            "type": "api"
        },
        {
            "id": 23,
            "name": "mail/MarkAsRead",
            "type": "api"
        },
        {
            "id": 5,
            "name": "CreateRole",
            "type": "api"
        },
        {
            "id": 9,
            "name": "CreateSubWorld",
            "type": "api"
        },
        {
            "id": 6,
            "name": "EnterSubWorld",
            "type": "api"
        },
        {
            "id": 24,
            "name": "GetAnnouncement",
            "type": "api"
        },
        {
            "id": 17,
            "name": "GetNotice",
            "type": "api"
        },
        {
            "id": 12,
            "name": "GetUserInfo",
            "type": "api"
        },
        {
            "id": 16,
            "name": "LeaveSubWorld",
            "type": "api"
        },
        {
            "id": 10,
            "name": "ListSubWorlds",
            "type": "api"
        },
        {
            "id": 7,
            "name": "Login",
            "type": "api"
        },
        {
            "id": 18,
            "name": "ModifyUserInfo",
            "type": "api"
        },
        {
            "id": 8,
            "name": "Register",
            "type": "api"
        },
        {
            "id": 3,
            "name": "StartMatch",
            "type": "api"
        },
        {
            "id": 11,
            "name": "s2cMsg/EnterSubWorld",
            "type": "msg"
        }
    ],
    "types": {
        "admin/PtlRequestUserInfo/ReqRequestUserInfo": {
            "type": "Interface",
            "properties": [
                {
                    "id": 2,
                    "name": "adminToken",
                    "type": {
                        "type": "String"
                    }
                },
                {
                    "id": 0,
                    "name": "uid",
                    "type": {
                        "type": "String"
                    }
                },
                {
                    "id": 1,
                    "name": "inDetail",
                    "type": {
                        "type": "Boolean"
                    },
                    "optional": true
                }
            ]
        },
        "admin/PtlRequestUserInfo/ResRequestUserInfo": {
            "type": "Interface",
            "properties": [
                {
                    "id": 0,
                    "name": "info",
                    "type": {
                        "type": "Reference",
                        "target": "../../types/UserInfo/UserInfo"
                    }
                }
            ]
        },
        "../../types/UserInfo/UserInfo": {
            "type": "Interface",
            "properties": [
                {
                    "id": 0,
                    "name": "uid",
                    "type": {
                        "type": "String"
                    }
                },
                {
                    "id": 1,
                    "name": "name",
                    "type": {
                        "type": "String"
                    },
                    "optional": true
                },
                {
                    "id": 2,
                    "name": "visualId",
                    "type": {
                        "type": "Number"
                    },
                    "optional": true
                },
                {
                    "id": 3,
                    "name": "gender",
                    "type": {
                        "type": "Number"
                    },
                    "optional": true
                },
                {
                    "id": 4,
                    "name": "introduction",
                    "type": {
                        "type": "String"
                    },
                    "optional": true
                }
            ]
        },
        "admin/PtlSubWorldCreated/ReqSubWorldCreated": {
            "type": "Interface"
        },
        "admin/PtlSubWorldCreated/ResSubWorldCreated": {
            "type": "Interface"
        },
        "admin/PtlSubWorldDestroyed/ReqSubWorldDestroyed": {
            "type": "Interface"
        },
        "admin/PtlSubWorldDestroyed/ResSubWorldDestroyed": {
            "type": "Interface"
        },
        "admin/PtlSubWorldStateChanged/ReqSubWorldStateChanged": {
            "type": "Interface",
            "properties": [
                {
                    "id": 0,
                    "name": "data",
                    "type": {
                        "type": "Array",
                        "elementType": {
                            "type": "Interface",
                            "properties": [
                                {
                                    "id": 0,
                                    "name": "subWorldId",
                                    "type": {
                                        "type": "String"
                                    }
                                },
                                {
                                    "id": 1,
                                    "name": "state",
                                    "type": {
                                        "type": "Union",
                                        "members": [
                                            {
                                                "id": 0,
                                                "type": {
                                                    "type": "Literal",
                                                    "literal": "new"
                                                }
                                            },
                                            {
                                                "id": 1,
                                                "type": {
                                                    "type": "Literal",
                                                    "literal": "delete"
                                                }
                                            },
                                            {
                                                "id": 2,
                                                "type": {
                                                    "type": "Literal",
                                                    "literal": "change"
                                                }
                                            }
                                        ]
                                    }
                                },
                                {
                                    "id": 2,
                                    "name": "data",
                                    "type": {
                                        "type": "Interface",
                                        "properties": [
                                            {
                                                "id": 0,
                                                "name": "configId",
                                                "type": {
                                                    "type": "String"
                                                }
                                            },
                                            {
                                                "id": 1,
                                                "name": "userNum",
                                                "type": {
                                                    "type": "Number"
                                                }
                                            },
                                            {
                                                "id": 2,
                                                "name": "maxUserNum",
                                                "type": {
                                                    "type": "Number"
                                                }
                                            }
                                        ]
                                    },
                                    "optional": true
                                }
                            ]
                        }
                    }
                }
            ]
        },
        "admin/PtlSubWorldStateChanged/ResSubWorldStateChanged": {
            "type": "Interface"
        },
        "admin/PtlWorldServerJoin/ReqWorldServerJoin": {
            "type": "Interface",
            "properties": [
                {
                    "id": 1,
                    "name": "adminToken",
                    "type": {
                        "type": "String"
                    }
                },
                {
                    "id": 0,
                    "name": "serverUrl",
                    "type": {
                        "type": "String"
                    }
                },
                {
                    "id": 4,
                    "name": "privateSubWorldList",
                    "type": {
                        "type": "Array",
                        "elementType": {
                            "type": "String"
                        }
                    }
                }
            ]
        },
        "admin/PtlWorldServerJoin/ResWorldServerJoin": {
            "type": "Interface"
        },
        "mail/PtlClearAllMails/ReqClearAllMails": {
            "type": "Interface",
            "properties": [
                {
                    "id": 0,
                    "name": "token",
                    "type": {
                        "type": "String"
                    }
                }
            ]
        },
        "mail/PtlClearAllMails/ResClearAllMails": {
            "type": "Interface"
        },
        "mail/PtlDeleteMail/ReqDeleteMail": {
            "type": "Interface",
            "properties": [
                {
                    "id": 0,
                    "name": "token",
                    "type": {
                        "type": "String"
                    }
                },
                {
                    "id": 1,
                    "name": "mailId",
                    "type": {
                        "type": "Number"
                    }
                }
            ]
        },
        "mail/PtlDeleteMail/ResDeleteMail": {
            "type": "Interface"
        },
        "mail/PtlGetMails/ReqGetMails": {
            "type": "Interface",
            "properties": [
                {
                    "id": 0,
                    "name": "token",
                    "type": {
                        "type": "String"
                    }
                }
            ]
        },
        "mail/PtlGetMails/ResGetMails": {
            "type": "Interface",
            "properties": [
                {
                    "id": 0,
                    "name": "mails",
                    "type": {
                        "type": "Array",
                        "elementType": {
                            "type": "Interface",
                            "properties": [
                                {
                                    "id": 0,
                                    "name": "mailId",
                                    "type": {
                                        "type": "Number"
                                    }
                                },
                                {
                                    "id": 1,
                                    "name": "uid",
                                    "type": {
                                        "type": "String"
                                    }
                                },
                                {
                                    "id": 2,
                                    "name": "from",
                                    "type": {
                                        "type": "String"
                                    }
                                },
                                {
                                    "id": 3,
                                    "name": "time",
                                    "type": {
                                        "type": "Number"
                                    }
                                },
                                {
                                    "id": 4,
                                    "name": "title",
                                    "type": {
                                        "type": "String"
                                    }
                                },
                                {
                                    "id": 5,
                                    "name": "content",
                                    "type": {
                                        "type": "String"
                                    }
                                },
                                {
                                    "id": 6,
                                    "name": "state",
                                    "type": {
                                        "type": "String"
                                    }
                                }
                            ]
                        }
                    }
                }
            ]
        },
        "mail/PtlMarkAllAsRead/ReqMarkAllAsRead": {
            "type": "Interface",
            "properties": [
                {
                    "id": 0,
                    "name": "token",
                    "type": {
                        "type": "String"
                    }
                }
            ]
        },
        "mail/PtlMarkAllAsRead/ResMarkAllAsRead": {
            "type": "Interface"
        },
        "mail/PtlMarkAsRead/ReqMarkAsRead": {
            "type": "Interface",
            "properties": [
                {
                    "id": 0,
                    "name": "token",
                    "type": {
                        "type": "String"
                    }
                },
                {
                    "id": 1,
                    "name": "mailId",
                    "type": {
                        "type": "Number"
                    }
                }
            ]
        },
        "mail/PtlMarkAsRead/ResMarkAsRead": {
            "type": "Interface"
        },
        "PtlCreateRole/ReqCreateRole": {
            "type": "Interface",
            "properties": [
                {
                    "id": 0,
                    "name": "token",
                    "type": {
                        "type": "String"
                    }
                },
                {
                    "id": 1,
                    "name": "name",
                    "type": {
                        "type": "String"
                    }
                },
                {
                    "id": 2,
                    "name": "visualId",
                    "type": {
                        "type": "Number"
                    }
                }
            ]
        },
        "PtlCreateRole/ResCreateRole": {
            "type": "Interface",
            "properties": [
                {
                    "id": 0,
                    "name": "name",
                    "type": {
                        "type": "String"
                    }
                },
                {
                    "id": 1,
                    "name": "visualId",
                    "type": {
                        "type": "Number"
                    }
                },
                {
                    "id": 2,
                    "name": "subWorldId",
                    "type": {
                        "type": "String"
                    }
                }
            ]
        },
        "PtlCreateSubWorld/ReqCreateSubWorld": {
            "type": "Interface",
            "properties": [
                {
                    "id": 3,
                    "name": "token",
                    "type": {
                        "type": "String"
                    }
                },
                {
                    "id": 1,
                    "name": "subWorldName",
                    "type": {
                        "type": "String"
                    }
                },
                {
                    "id": 2,
                    "name": "subWorldConfigId",
                    "type": {
                        "type": "String"
                    }
                },
                {
                    "id": 4,
                    "name": "password",
                    "type": {
                        "type": "String"
                    }
                }
            ]
        },
        "PtlCreateSubWorld/ResCreateSubWorld": {
            "type": "Interface",
            "properties": [
                {
                    "id": 0,
                    "name": "serverUrl",
                    "type": {
                        "type": "String"
                    }
                },
                {
                    "id": 2,
                    "name": "subWorldId",
                    "type": {
                        "type": "String"
                    }
                }
            ]
        },
        "PtlEnterSubWorld/ReqEnterSubWorld": {
            "type": "Interface",
            "properties": [
                {
                    "id": 0,
                    "name": "token",
                    "type": {
                        "type": "String"
                    }
                },
                {
                    "id": 1,
                    "name": "subWorldId",
                    "type": {
                        "type": "String"
                    }
                },
                {
                    "id": 2,
                    "name": "password",
                    "type": {
                        "type": "String"
                    },
                    "optional": true
                }
            ]
        },
        "PtlEnterSubWorld/ResEnterSubWorld": {
            "type": "Interface",
            "extends": [
                {
                    "id": 0,
                    "type": {
                        "type": "Reference",
                        "target": "../../types/EnterSubWorldParams/EnterSubWorldParams"
                    }
                }
            ]
        },
        "../../types/EnterSubWorldParams/EnterSubWorldParams": {
            "type": "Interface",
            "properties": [
                {
                    "id": 0,
                    "name": "subWorldId",
                    "type": {
                        "type": "String"
                    }
                },
                {
                    "id": 1,
                    "name": "subWorldConfigId",
                    "type": {
                        "type": "String"
                    }
                },
                {
                    "id": 2,
                    "name": "token",
                    "type": {
                        "type": "String"
                    }
                },
                {
                    "id": 3,
                    "name": "time",
                    "type": {
                        "type": "Number"
                    }
                },
                {
                    "id": 4,
                    "name": "worldServerUrl",
                    "type": {
                        "type": "String"
                    }
                }
            ]
        },
        "PtlGetAnnouncement/ReqGetAnnouncement": {
            "type": "Interface",
            "properties": [
                {
                    "id": 0,
                    "name": "token",
                    "type": {
                        "type": "String"
                    }
                },
                {
                    "id": 1,
                    "name": "type",
                    "type": {
                        "type": "String"
                    }
                }
            ]
        },
        "PtlGetAnnouncement/ResGetAnnouncement": {
            "type": "Interface",
            "properties": [
                {
                    "id": 0,
                    "name": "content",
                    "type": {
                        "type": "String"
                    }
                }
            ]
        },
        "PtlGetNotice/ReqGetNotice": {
            "type": "Interface",
            "properties": [
                {
                    "id": 0,
                    "name": "token",
                    "type": {
                        "type": "String"
                    }
                }
            ]
        },
        "PtlGetNotice/ResGetNotice": {
            "type": "Interface",
            "properties": [
                {
                    "id": 1,
                    "name": "noticeList",
                    "type": {
                        "type": "Array",
                        "elementType": {
                            "type": "Interface",
                            "properties": [
                                {
                                    "id": 0,
                                    "name": "title",
                                    "type": {
                                        "type": "String"
                                    }
                                },
                                {
                                    "id": 1,
                                    "name": "content",
                                    "type": {
                                        "type": "String"
                                    }
                                },
                                {
                                    "id": 2,
                                    "name": "contentType",
                                    "type": {
                                        "type": "String"
                                    }
                                }
                            ]
                        }
                    }
                }
            ]
        },
        "PtlGetUserInfo/ReqGetUserInfo": {
            "type": "Interface",
            "properties": [
                {
                    "id": 2,
                    "name": "token",
                    "type": {
                        "type": "String"
                    }
                },
                {
                    "id": 0,
                    "name": "uid",
                    "type": {
                        "type": "String"
                    },
                    "optional": true
                },
                {
                    "id": 1,
                    "name": "uids",
                    "type": {
                        "type": "Array",
                        "elementType": {
                            "type": "String"
                        }
                    },
                    "optional": true
                }
            ]
        },
        "PtlGetUserInfo/ResGetUserInfo": {
            "type": "Interface",
            "properties": [
                {
                    "id": 0,
                    "name": "infos",
                    "type": {
                        "type": "Array",
                        "elementType": {
                            "type": "Reference",
                            "target": "../../types/UserInfo/UserInfo"
                        }
                    }
                }
            ]
        },
        "PtlLeaveSubWorld/ReqLeaveSubWorld": {
            "type": "Interface",
            "properties": [
                {
                    "id": 0,
                    "name": "token",
                    "type": {
                        "type": "String"
                    }
                }
            ]
        },
        "PtlLeaveSubWorld/ResLeaveSubWorld": {
            "type": "Interface"
        },
        "PtlListSubWorlds/ReqListSubWorlds": {
            "type": "Interface",
            "properties": [
                {
                    "id": 0,
                    "name": "token",
                    "type": {
                        "type": "String"
                    }
                },
                {
                    "id": 1,
                    "name": "type",
                    "type": {
                        "type": "String"
                    }
                }
            ]
        },
        "PtlListSubWorlds/ResListSubWorlds": {
            "type": "Interface",
            "properties": [
                {
                    "id": 1,
                    "name": "subWorlds",
                    "type": {
                        "type": "Array",
                        "elementType": {
                            "type": "Reference",
                            "target": "PtlListSubWorlds/ISubWorldBrief"
                        }
                    }
                }
            ]
        },
        "PtlListSubWorlds/ISubWorldBrief": {
            "type": "Interface",
            "properties": [
                {
                    "id": 1,
                    "name": "subWorldId",
                    "type": {
                        "type": "String"
                    }
                },
                {
                    "id": 8,
                    "name": "displayId",
                    "type": {
                        "type": "String"
                    }
                },
                {
                    "id": 5,
                    "name": "configId",
                    "type": {
                        "type": "String"
                    }
                },
                {
                    "id": 0,
                    "name": "name",
                    "type": {
                        "type": "String"
                    }
                },
                {
                    "id": 2,
                    "name": "userNum",
                    "type": {
                        "type": "Number",
                        "scalarType": "uint"
                    }
                },
                {
                    "id": 3,
                    "name": "maxUserNum",
                    "type": {
                        "type": "Number",
                        "scalarType": "uint"
                    }
                },
                {
                    "id": 6,
                    "name": "playerNum",
                    "type": {
                        "type": "Number",
                        "scalarType": "uint"
                    }
                },
                {
                    "id": 7,
                    "name": "maxPlayerNum",
                    "type": {
                        "type": "Number",
                        "scalarType": "uint"
                    }
                }
            ]
        },
        "PtlLogin/ReqLogin": {
            "type": "Interface",
            "properties": [
                {
                    "id": 0,
                    "name": "account",
                    "type": {
                        "type": "String"
                    }
                },
                {
                    "id": 1,
                    "name": "password",
                    "type": {
                        "type": "String"
                    }
                }
            ]
        },
        "PtlLogin/ResLogin": {
            "type": "Interface",
            "properties": [
                {
                    "id": 0,
                    "name": "token",
                    "type": {
                        "type": "String"
                    }
                },
                {
                    "id": 4,
                    "name": "subWorldId",
                    "type": {
                        "type": "String"
                    }
                },
                {
                    "id": 5,
                    "name": "userInfo",
                    "type": {
                        "type": "Reference",
                        "target": "../../types/UserInfo/UserInfo"
                    }
                }
            ]
        },
        "PtlModifyUserInfo/ReqModifyUserInfo": {
            "type": "Interface",
            "properties": [
                {
                    "id": 0,
                    "name": "token",
                    "type": {
                        "type": "String"
                    }
                },
                {
                    "id": 1,
                    "name": "gender",
                    "type": {
                        "type": "Number"
                    },
                    "optional": true
                },
                {
                    "id": 2,
                    "name": "introduction",
                    "type": {
                        "type": "String"
                    },
                    "optional": true
                }
            ]
        },
        "PtlModifyUserInfo/ResModifyUserInfo": {
            "type": "Interface",
            "properties": [
                {
                    "id": 0,
                    "name": "gender",
                    "type": {
                        "type": "Number"
                    },
                    "optional": true
                },
                {
                    "id": 1,
                    "name": "introduction",
                    "type": {
                        "type": "String"
                    },
                    "optional": true
                }
            ]
        },
        "PtlRegister/ReqRegister": {
            "type": "Interface",
            "properties": [
                {
                    "id": 0,
                    "name": "account",
                    "type": {
                        "type": "String"
                    }
                },
                {
                    "id": 1,
                    "name": "password",
                    "type": {
                        "type": "String"
                    }
                }
            ]
        },
        "PtlRegister/ResRegister": {
            "type": "Interface"
        },
        "PtlStartMatch/ReqStartMatch": {
            "type": "Interface",
            "properties": [
                {
                    "id": 0,
                    "name": "token",
                    "type": {
                        "type": "String"
                    }
                },
                {
                    "id": 1,
                    "name": "type",
                    "type": {
                        "type": "String"
                    }
                },
                {
                    "id": 2,
                    "name": "immediate",
                    "type": {
                        "type": "Boolean"
                    },
                    "optional": true
                }
            ]
        },
        "PtlStartMatch/ResStartMatch": {
            "type": "Interface",
            "extends": [
                {
                    "id": 0,
                    "type": {
                        "type": "Reference",
                        "target": "../../types/EnterSubWorldParams/EnterSubWorldParams"
                    }
                }
            ]
        },
        "s2cMsg/MsgEnterSubWorld/MsgEnterSubWorld": {
            "type": "Interface",
            "properties": [
                {
                    "id": 0,
                    "name": "subWorldId",
                    "type": {
                        "type": "String"
                    }
                },
                {
                    "id": 1,
                    "name": "token",
                    "type": {
                        "type": "String"
                    }
                },
                {
                    "id": 2,
                    "name": "time",
                    "type": {
                        "type": "Number"
                    }
                },
                {
                    "id": 3,
                    "name": "worldServerUrl",
                    "type": {
                        "type": "String"
                    }
                }
            ]
        }
    }
};